Project

General

Profile

Actions

Feature #11825

closed

Allocate memory for tty_struct for tty_operations callbacks

Added by Evgeny Novikov 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
High
Category:
Environment models
Target version:
Start date:
08/15/2022
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

At the moment EMG considers a result of ldv_undef_ptr() as a pointer to tty_struct when there is not the lookup callback of tty_operations. I suggest to explicitly allocate a memory for tty_struct and use a pointer to it in this case.

The issue was revealed with help of #11810.


Related issues 2 (1 open1 closed)

Blocks Klever - Feature #11810: Check whether the same resources are passed to various related callbacksNewEvgeny Novikov08/09/2022

Actions
Blocked by Klever - Feature #11826: Do not generate return values implicitly in case of missed callbacksClosedEvgeny Novikov08/15/2022

Actions
Actions #1

Updated by Evgeny Novikov 8 months ago

  • Blocks Feature #11810: Check whether the same resources are passed to various related callbacks added
Actions #2

Updated by Evgeny Novikov 8 months ago

  • Description updated (diff)
Actions #3

Updated by Evgeny Novikov 8 months ago

  • Blocked by Feature #11826: Do not generate return values implicitly in case of missed callbacks added
Actions #4

Updated by Evgeny Novikov 8 months ago

  • Status changed from New to Resolved

I implemented the feature request in branch allocate-tty-struct-mem. Let's see on testing results.

Actions #5

Updated by Evgeny Novikov 8 months ago

  • Status changed from Resolved to Closed

Testing did not demonstrate any noticeable differences, so I merged the branch to master in 30ffb5718.

Actions

Also available in: Atom PDF